package spec.tianjunxiu.unit4.lianxi;

public class Student {
    String xm;
    String xh;
    String xx;

    public Student() {
        System.out.println("执行父类输出");
    }
    //无参构造方法（没有参数），也称为默认的构造方法
    String study(){
        return "good good study,day day up";
    }
    public Student(String xm, String xh, String xx) {
        this.xm = xm;
        this.xh = xh;
        this.xx = xx;
    }
   // public Student() {
     //   xx="四川幼专";
     //}
}
